
//using FluentData;
using System;
using System.Collections.Generic;
using Ay.MvcFramework;
namespace Base.DAL
{    
    /// <summary>
    /// 实体-sysdiagrams 
    /// </summary>
    public partial class sysdiagrams_ROW : AyTableViewRowModel,IEntity   
    {    
		#region 表名、字段信息
        public static readonly String tname = "sysdiagrams";
          public static readonly String[] cols = { "diagram_id","name","principal_id","version","definition"};
          public static readonly int[] colIsPK = { 1,0,0,0,0};
          public static readonly int[] colIsAuto = { 1,0,0,0,0};
          public String Tname { get{return tname;} }
          public String[] Cols { get{return cols;} }
          public int[] ColIsPK { get{return colIsPK;} }
          public int[] ColIsAuto { get{return colIsAuto;} }
          #endregion
          public String name { get; set; }
          public Int32 principal_id { get; set; }
          public Int32 diagram_id { get; set; }
          public Int32 version { get; set; }
          public Byte[] definition { get; set; }
          public sysdiagrams Clone() { return (sysdiagrams)this.MemberwiseClone(); }
          public override String ToString() { return ""+" name:"+name+" principal_id:"+principal_id+" diagram_id:"+diagram_id+" version:"+version+" definition:"+definition; }
    }
}
    
